using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Collections.Generic;
using System.Collections;
using J2ME.RMS;
using Nextel.Utils;




public class IdiomaBean : Persistente
	{
        public String valor;
        public String id;

        public override void persistir(DataOutputStream dataOutput, List<Persistente> list)
        {
            dataOutput.writeInt(list.Count);

            for (int i = 0; i < list.Count; i++)
            {
                IdiomaBean bean = (IdiomaBean)list[i];
                bean.persistirItem(dataOutput);
            }
        }

        public void persistirItem(DataOutputStream dataOutput)
        {

            dataOutput.writeString(StringUtils.stringNullToBlank(valor));
            dataOutput.writeString(StringUtils.stringNullToBlank(id));
       
          
        }
 
	}
 
